<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">

<f:view contentType="text/html" locale="es">
	<f:event type="preRenderView" listener="#{userMB.checkLogin}" />


	<h:head>
		<h:outputScript library="primefaces" name="jquery/jquery.js" />
		<meta http-equiv="content-type" content="text/html; charset=UTF-8"></meta>
		<meta charset="utf-8"></meta>
		<title>MAPSA - WEB</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0"></meta>
		<meta name="description" content=""></meta>
		<meta name="author" content=""></meta>
		<h:outputStylesheet name="common-style.css" library="css" />
		<h:outputStylesheet name="style.css" library="css" />
		<h:outputScript name="js/main.js"></h:outputScript>
		<h:outputScript name="js/jquery.offcanvas.js"></h:outputScript>
		<h:outputScript name="js/jquery.fn.gantt.min.js"></h:outputScript>
		<h:outputStylesheet name="bootstrap.css" library="css" />
		<h:outputStylesheet name="bootstrap-glyphicons.css" library="css" />
		<h:outputStylesheet name="offcanvas.css" library="css" />

		<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
		<!--[if lt IE 9]>
      <script src="../assets/js/html5shiv.js"></script>
    <![endif]-->

	</h:head>
	<h:body>
		<div id="wrap">
			<ui:insert name="header">
				<ui:include src="header.xhtml" />
			</ui:insert>

			<div class="container" style="width: 90%;">
				<div class="row">
					<div class="col-md-3">
						<ui:insert name="sidebarLeft">
							<ui:include src="sidebarLeft.xhtml" />
						</ui:insert>
					</div>
					<div class="col-md-9" id="container_id">
						<ui:insert name="content">
							<ui:include src="content.xhtml" />
						</ui:insert>
					</div>
				</div>
			</div>
		</div>
		<hr></hr>
		<div id="footer">
			<div class="container">
				<p class="muted credit">
					#Manuscripto <a href="http://www.unlimited-it.com/">#ULTD</a>
				</p>
			</div>
		</div>
		<!-- Le javascript
    ================================================== -->
		<!-- Placed at the end of the document so the pages load faster -->
		<h:outputScript name="js/main.js"></h:outputScript>
		<h:outputScript name="js/bootstrap.min.js"></h:outputScript>
	</h:body>
</f:view>
</html>